package com.hxzy.controller.admin.employee.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
@Setter
@ApiModel(value = "员工修改模型")
public class EmployeeEditReq {

    @NotNull(message = "主键不能为空")
    private Long id;

    /**
     * 性别(0 女 1 男)
     */
    @NotBlank(message = "性别不能为空")
    @ApiModelProperty(value = "性别(0 女 1 男)",required = true)
    private String gender;


    /**
     * 头像
     */
    @NotBlank(message = "头像不能为空")
    @ApiModelProperty(value = "头像",required = true)
    private String avatar;
}
